package com.warm.androidstudy.view.liveData.model;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;


public class Dog extends BaseObservable {
    private String docName;
    private String docColor;

    public Dog(String docName, String docColor) {
        this.docName = docName;
        this.docColor = docColor;

    }
    public void DogOnlyName(String docName, String docColor) {
        this.docName = docName;
        this.docColor = docColor;
        notifyPropertyChanged(com.warm.androidstudy.BR.docName);
    }

    public void DogAll(String docName, String docColor) {
        this.docName = docName;
        this.docColor = docColor;
        notifyChange();
    }

    @Bindable
    public String getDocName() {
        return docName;
    }

    public void setDocName(String docName) {
        this.docName = docName;
    }

    public String getDocColor() {
        return docColor;
    }

    public void setDocColor(String docColor) {
        this.docColor = docColor;
    }
}
